package com.chao.java.ai.langchain4j.assistant;

import dev.langchain4j.service.UserMessage;
import dev.langchain4j.service.spring.AiService;
import dev.langchain4j.service.spring.AiServiceWiringMode;

@AiService(
        wiringMode = AiServiceWiringMode.EXPLICIT,
        chatModel = "ollamaChatModel",
        chatMemory = "chatMemory"
)
public interface MemoryChatAssistant {


    @UserMessage("回答问题的时候适当添加表情符号。{{it}}")
    String chat(String message);
}
